package com.kittlen.managementSystem.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 教练表
 * </p>
 *
 * @author kittlen
 * @since 2021-01-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_coach")
public class Coach implements Serializable {

    private static final long serialVersionUID = 1L;

    public Coach(String coachId) {
        this.coachId = coachId;
    }

    public Coach() {
    }

    /**
     * 用户id
     */
    @TableId(value = "coach_id", type = IdType.INPUT)
    private String coachId;

    /**
     * 用户名
     */
    private String fullname;

    /**
     * 头像
     */
    private String photo;

    /**
     * 密码
     */
    private String pwd;

    /**
     * 性别(0:女,1:男)
     */
    private Boolean agender;

    /**
     * 电话号码
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 是否离职(0为否)
     */
    private Boolean isEnd;

    /**
     * 入职时间
     */
    private String joiningTime;

    /**
     * 教学阶段(主要负责的教学科目几)
     */
    private Integer teachingStage;

    /**
     * 开始被选
     */
    private Boolean isStartChoice;


    /**
     * 当前学员选择数
     */
    private Integer choiceCount;

    /**
     * 最大学员选择数
     */
    private Integer choiceCountMax;

    /**
     * 评分
     */
    private float score;

    public class Coachs{
        List<String> coachIds;

        public List<String> getCoachIds() {
            return coachIds;
        }

        public void setCoachIds(List<String> coachIds) {
            this.coachIds = coachIds;
        }
    }

}
